package com.eorchis.module.classcourse.dao;

import java.util.List;

import com.eorchis.core.basedao.dao.IDaoSupport;
import com.eorchis.module.classcourse.querybean.ClassCourseQueryBean;
import com.eorchis.module.classcourse.ui.commond.ClassCourseQueryCommond;
import com.eorchis.module.classcourse.ui.commond.ClassCourseValidCommond;

/**
 * Title: IClassCourseDao<br>
 * Description: 班级课程维护数据接口<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Max
 * @createDate 2014-12-11
 * @version $Revision$
 */
public interface IClassCourseDao 
				extends IDaoSupport
{

	List<ClassCourseQueryBean> findClassCoursePageList(
			ClassCourseQueryCommond qCommond) throws Exception;

	List<ClassCourseQueryBean> findClassCourseAllList(
			ClassCourseQueryCommond qCommond) throws Exception;

	List<ClassCourseQueryBean> findCourseNum(ClassCourseQueryCommond qCommond)
			throws Exception;

	String getMaxCourseNum(ClassCourseValidCommond vCommond) throws Exception;

	Double getstudyScore(String[] ids) throws Exception;

	void deleteCourseByClassIds(String[] classIds) throws Exception;
	/**
	 * 查询班级课程列表
	 * @param commond
	 * @return
	 * @throws Exception
	 * @author RongSL
	 * @date 2016-05-20
	 */
	public List<ClassCourseQueryBean> findAssessCourseList(ClassCourseQueryCommond  qCommond) throws Exception;
	
	/**
	 * 删除课程问卷
	 * @param validCommond
	 * @param request
	 * @param response
	 * @param resultState
	 * @throws Exception
	 * @author RongSL
	 * @createDate 2016-5-24
	 */
	public void deleteCourseQuestionnaire(ClassCourseValidCommond validCommond);
}
